// vite.config.js
import vue from "file:///D:/workspace/wmsl/digitpeople/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import Components from "file:///D:/workspace/wmsl/digitpeople/node_modules/unplugin-vue-components/dist/vite.mjs";
import { defineConfig } from "file:///D:/workspace/wmsl/digitpeople/node_modules/vite/dist/node/index.js";
import { resolve as resolve3 } from "path";
import { visualizer } from "file:///D:/workspace/wmsl/digitpeople/node_modules/rollup-plugin-visualizer/dist/plugin/index.js";
import {
  VantResolver,
  ElementPlusResolver
} from "file:///D:/workspace/wmsl/digitpeople/node_modules/unplugin-vue-components/dist/resolvers.mjs";

// buildRollupInput.js
import pkg from "file:///D:/workspace/wmsl/digitpeople/node_modules/glob/glob.js";
import fs from "fs";
import { loadEnv } from "file:///D:/workspace/wmsl/digitpeople/node_modules/vite/dist/node/index.js";
import { resolve } from "path";

// src/pageConfig.js
var pageConfig = {
  index: {
    title: "\u200E"
  },
  entity: {
    title: "\u200E"
  },
  normal: {
    title: "\u200E"
  },
  detail: {
    title: "\u95EE\u9898\u8BE6\u60C5"
  }
};
var pageConfig_default = pageConfig;

// buildRollupInput.js
var __vite_injected_original_dirname = "D:\\workspace\\wmsl\\digitpeople";
var { glob } = pkg;
var rollupInput = (env) => {
  const allEntry = glob.sync("./src/pages/**/main.js");
  const temp = fs.readFileSync(resolve(__vite_injected_original_dirname, "./src/template.html")).toString();
  const entryPage = {};
  let content = "";
  allEntry.forEach((entry) => {
    const pageName = entry.split("/")[3];
    const pageTitle = pageConfig_default[pageName].title;
    const pageSrc = entry.replace("src/", "");
    const mode = {
      title: pageTitle,
      // 页面标题
      name: pageName,
      // 页面名字
      src: pageSrc
      // main.ts路径
    };
    const writeHtmlPath = resolve(__vite_injected_original_dirname, `./src/${mode.name}.html`);
    entryPage[mode.name] = writeHtmlPath;
    content = temp.replace(/{{(.*?)}}/gi, (match, p1) => {
      const p = p1.trim();
      if (p.indexOf("VITE_ENV") >= 0) {
        if (loadEnv(env, resolve(__vite_injected_original_dirname, "./src"))[p] === "1") {
          return loadEnv(env, resolve(__vite_injected_original_dirname, "./src"))[p + "_URL"];
        } else {
          return "";
        }
      } else if (p.indexOf("VITE_PAGE") >= 0) {
        if (pageConfig_default[pageName][p]) {
          return loadEnv(env, resolve(__vite_injected_original_dirname, "./src"))[p + "_URL"];
        } else {
          return "";
        }
      } else {
        return mode[p1.trim()];
      }
    });
    fs.writeFileSync(writeHtmlPath, content);
  });
  return entryPage;
};

// rollupPlugin/end.js
import pkg2 from "file:///D:/workspace/wmsl/digitpeople/node_modules/glob/glob.js";
import fs2 from "fs";
import { resolve as resolve2 } from "path";
var __vite_injected_original_dirname2 = "D:\\workspace\\wmsl\\digitpeople\\rollupPlugin";
var { glob: glob2 } = pkg2;
var deletePages = () => {
  const allEntry = glob2.sync("./src/**.html");
  return {
    name: "rollupEnd",
    buildEnd() {
      allEntry.forEach((entry) => {
        if (entry.indexOf("template") > 0)
          return;
        fs2.rm(resolve2(__vite_injected_original_dirname2, "../", entry), () => {
        });
      });
    }
  };
};

// vite.config.js
import legacy from "file:///D:/workspace/wmsl/digitpeople/node_modules/@vitejs/plugin-legacy/dist/index.mjs";
import topLevelAwait from "file:///D:/workspace/wmsl/digitpeople/node_modules/vite-plugin-top-level-await/exports/import.mjs";
import AutoImport from "file:///D:/workspace/wmsl/digitpeople/node_modules/unplugin-auto-import/dist/vite.js";
import postcsspxtorem from "file:///D:/workspace/wmsl/digitpeople/node_modules/postcss-pxtorem/index.js";
var __vite_injected_original_dirname3 = "D:\\workspace\\wmsl\\digitpeople";
var vite_config_default = defineConfig(({ mode }) => {
  const input = rollupInput(mode);
  const plugins = [
    legacy({
      targets: ["chrome 52", "android 4.4"],
      additionalLegacyPolyfills: ["regenerator-runtime/runtime"]
    }),
    topLevelAwait(),
    vue(),
    AutoImport({
      resolvers: [ElementPlusResolver()]
    }),
    Components({
      resolvers: [VantResolver(), ElementPlusResolver()]
    }),
    deletePages()
  ];
  if (mode === "beta") {
    plugins.push(
      visualizer({
        open: false
      })
    );
  }
  return {
    plugins,
    root: "src",
    base: "./",
    publicDir: "public",
    server: {
      host: true,
      port: 8082,
      proxy: {
        "/apis": {
          target: "https://hwvirtualhumantest.59wanmei.com",
          // target: 'https://saastest.17wanxiao.com',
          // target: 'http://virtualhuman2.59wanmei.com',
          // target: 'http://192.168.124.141:12888',
          // target: 'http://192.168.121.93:8090', // cuibin
          // target: 'http://192.168.121.78', // gongyifan
          changeOrigin: true,
          rewrite: (path) => path.replace(/^\/apis/, "")
        },
        "/digitPeopleUploadApi": {
          target: "https://hwvirtualhumantest.59wanmei.com:1888/api",
          // target: 'http://virtualhuman.59wanmei.com',
          // target: 'http://192.168.121.78',
          changeOrigin: true,
          rewrite: (path) => path.replace(/^\/digitPeopleUploadApi/, "")
        }
      }
    },
    build: {
      outDir: resolve3(__vite_injected_original_dirname3, "dist"),
      rollupOptions: {
        input
      },
      target: "es2015",
      // sourcemap: mode !== 'prod'
      sourcemap: false
    },
    css: {
      postcss: {
        plugins: [
          postcsspxtorem({
            rootValue: 52,
            propList: ["*"]
          })
        ]
      }
    }
  };
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiLCAiYnVpbGRSb2xsdXBJbnB1dC5qcyIsICJzcmMvcGFnZUNvbmZpZy5qcyIsICJyb2xsdXBQbHVnaW4vZW5kLmpzIl0sCiAgInNvdXJjZXNDb250ZW50IjogWyJjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZGlybmFtZSA9IFwiRDpcXFxcd29ya3NwYWNlXFxcXHdtc2xcXFxcZGlnaXRwZW9wbGVcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIkQ6XFxcXHdvcmtzcGFjZVxcXFx3bXNsXFxcXGRpZ2l0cGVvcGxlXFxcXHZpdGUuY29uZmlnLmpzXCI7Y29uc3Q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